package com.acquisition.param.dto;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Map;

/**
 * 摄像头参数
 * 对应CameraParam
 *
 * @author wuqiwei
 * @date 2021/09/04
 */
public class CameraConfig {

    @JSONField(name="type")
    private String type;

    @JSONField(name="mn")
    private String mn;

    @JSONField(name="count")
    private Integer count;

    @JSONField(name="cameraConfigMap")
    private Map<String, SingleCameraConfig> cameraConfigMap;

    public CameraConfig() {
        super();
    }

    public CameraConfig(String type, String mn, Integer count, Map<String, SingleCameraConfig> cameraConfigMap) {
        super();
        this.type = type;
        this.mn = mn;
        this.count = count;
        this.cameraConfigMap = cameraConfigMap;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMn() {
        return mn;
    }

    public void setMn(String mn) {
        this.mn = mn;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Map<String, SingleCameraConfig> getCameraConfigMap() {
        return cameraConfigMap;
    }

    public void setCameraConfigMap(Map<String, SingleCameraConfig> cameraConfigMap) {
        this.cameraConfigMap = cameraConfigMap;
    }

    @Override
    public String toString() {
        return "CameraConfig [type=" + type + ", mn=" + mn + ", count=" + count + ", cameraConfigMap=" + cameraConfigMap
                + "]";
    }

}
